package com.briup.oagg.dataset.service.impl;

import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.framework.utils.common.EntityUtils;
import com.briup.framework.utils.execption.BriupAssert;
import com.briup.framework.utils.web.ResponseCode;
import com.briup.oagg.dataset.bean.basic.Basin;
import com.briup.oagg.dataset.bean.basic.Zone;
import com.briup.oagg.dataset.bean.ext.TreeInfo;
import com.briup.oagg.dataset.mapper.basic.BasinMapper;
import com.briup.oagg.dataset.mapper.ext.BasinExtMapper;
import com.briup.oagg.dataset.service.IBasinService;
import com.briup.oagg.dataset.service.IZoneService;
import com.briup.oagg.dataset.web.vm.BasinAddVM;
import com.briup.oagg.dataset.web.vm.BasinUpdateVM;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.stream.Collectors;

import static com.briup.framework.utils.web.ResponseCode.NAME_EXISTED;

/**
 * 盆地信息业务逻辑接口实现类
 *
 * @author briup
 */
@Service
public class BasinServiceImpl extends ServiceImpl<BasinMapper, Basin> implements IBasinService {
    @Override
    public void addBasin(BasinAddVM vm) {

    }

    @Override
    public void updateBasin(BasinUpdateVM vm) {

    }

    @Override
    public void deleteById(String basinId) {

    }

    @Override
    public Page<Basin> findByPage(Integer pageNum, Integer pageSize) {
        return null;
    }

    @Override
    public int countNum() {
        return 0;
    }

    @Override
    public List<TreeInfo> findByTree() {
        return null;
    }
}
